var root=ui("$");
var helperOpen = require("helper/open");
var collection = ui("collection");
var name = ui("name");
var aLayout_goShop = ui("aLayout_goShop");
//设置数据绑定的映射关系
root.setMapping({
	"img.source":"fullLogo",
	"name.text":"name",
	"collection.text":"remarks1",
	"aLayout_goShop.tag":"id"
});

aLayout_goShop.on("touch", "", 300, function(data, e) {
	if (aLayout_goShop.tag != null && aLayout_goShop.tag != '') {
		helperOpen.open("source://view/qshop/detail/main.ui",{shopId:aLayout_goShop.tag});
	}
});